<%@ page language="java" contentType="text/xml; charset=UTF-8"
    pageEncoding="UTF-8"%>
<jsp:useBean id="bean" scope="request" class="br.com.rapidrest.demo.web.engine.phonebook.NewPhoneBook" /> 
<engine xmlns:hl="http://www.holyavenger.org/holyavenger/1.0">
	<action id="content">
		<h1><%=bean.getMessages().get("title")%></h1>
		
		<form method="post">
			<fieldset>
				<legend><%=bean.getMessages().get("createPhoneBook")%></legend>
				
				<label for="name"><%=bean.getMessages().get("name")%></label>
				<input id="name" name="\${name}" type="text" />
				
				<input id="save" value="<%=bean.getMessages().get("save")%>" type="button"
					hl:onclick="engine/phonebook/NewPhoneBook.save" />
			</fieldset>
		</form>
		
		
		<a href="#engine/Home" title="<%=bean.getMessages().get("back")%>">
			<%=bean.getMessages().get("back")%>
		</a>
	</action>
</engine>